﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace VCN.App.DataTransferObjects
{
    public class News:BasicObject
    {
        string title;

        public string Title
        {
            get { return title; }
            set { title = value; }
        }
        string shortContent;

        public string ShortContent
        {
            get { return shortContent; }
            set { shortContent = value; }
        }
        string contents;

        public string Contents
        {
            get { return contents; }
            set { contents = value; }
        }
        string image;

        public string Image
        {
            get { return image; }
            set { image = value; }
        }
        DateTime createdDate;

        public DateTime CreatedDate
        {
            get { return createdDate; }
            set { createdDate = value; }
        }
        int authorId;

        public int AuthorId
        {
            get { return authorId; }
            set { authorId = value; }
        }
        int reference;

        public int Reference
        {
            get { return reference; }
            set { reference = value; }
        }
        int viewCount;

        public int ViewCount
        {
            get { return viewCount; }
            set { viewCount = value; }
        }
    }
}
